package com.niiwoo.civet.trade.dto;

import java.math.BigDecimal;

import lombok.Getter;
import lombok.Setter;

/**
 * 标的还款金额结构封装（还款优化）
 * 
 * @author: kevin.jia
 * @version 1.0.0
 */
@Getter
@Setter
public class ProjectBorrowerPlanNewDetailDTO {
	
	/** 本金 */
	private BigDecimal capital;
	
	/** 利息 */
	private BigDecimal interest;
	
	/** 罚息 */
	private BigDecimal penaltyFee;
	
	/** 平台管理费 */
	private BigDecimal managementFee;
	
	/** 担保服务费 */
	private BigDecimal guaranteeFee;
	
	/** 已还本金 */
	private BigDecimal refundedCapital;
	
	/** 已还本金 */
	private BigDecimal refundedInterest;
	
	/** 已还罚息 */
	private BigDecimal refundedPenaltyFee;
	
	/** 已还平台管理费 */
	private BigDecimal refundedManagementFee;
	
	/** 已还担保服务费 */
	private BigDecimal refundedGuaranteeFee;

	// 构造函数默认初始化所有金额为0
	public ProjectBorrowerPlanNewDetailDTO() {
		this.capital = BigDecimal.ZERO;
		this.interest = BigDecimal.ZERO;
		this.penaltyFee = BigDecimal.ZERO;
		this.managementFee = BigDecimal.ZERO;
		this.guaranteeFee = BigDecimal.ZERO;

		this.refundedCapital = BigDecimal.ZERO;
		this.refundedInterest = BigDecimal.ZERO;
		this.refundedPenaltyFee = BigDecimal.ZERO;
		this.refundedManagementFee = BigDecimal.ZERO;
		this.refundedGuaranteeFee = BigDecimal.ZERO;
	}
}
